import pandas as pd
from langchain.document_loaders import CSVLoader

csvname="files/kcjlczycsv.csv"
df = pd.read_excel('files/上课反馈czy.xlsx')
df.to_csv(csvname, encoding ='utf-8_sig')
loader = CSVLoader(csvname,autodetect_encoding=True )
docs = loader.load()

for doc in docs:
    print(doc)